Skip to main content
POST
/integration/:id/mapping/apply

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Encoded integration id (an opaque base-36 string such as gjdhye, as returned by GET /v1/integration). Never the raw numeric id.

Query Parameters

uid
integer

Optional publisher uid. When given, the integration is looked up among those available to this publisher's organisation (and its parents) instead of the caller's own. The publisher must exist and not be archived; a restricted (non-core) caller may only pass a publisher of their own organisation, otherwise 404 Not Found.

Required range: x >= 1

Body

application/json
records
object[]
required

Candidate records. Each is checked against this integration's catalogue; a record's own integration_id, if sent, is ignored.

mode
enum<string>
default:overwrite

overwrite (default) upserts every valid record. append skips a record when its (level, entity, field) already has a row, including a will-not-map or empty one. Any other value behaves as overwrite.

Available options:
overwrite,
append

Response

Write summary.

results
object
required
success
boolean
required

Always true on success.